package com.jf.identity.mongo.impl;

import com.jf.identity.entity.DataProgress;
import com.jf.identity.mongo.AbstractBaseMongoTemplete;
import com.jf.identity.mongo.DataProgressDao;
import org.springframework.stereotype.Repository;

@Repository
public class DataProgressDaoImpl extends AbstractBaseMongoTemplete implements DataProgressDao {
    @Override
    public int insertDataProgress(DataProgress dataProgress) {
        mongoTemplate.insert(dataProgress);
        return 0;
    }
}
